package com.sample.tdf.dto;

import cn.com.taiji.common.dto.BaseTreeDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Size;
import java.util.List;

@ApiModel(value = "OrganizationDTO对象")
@Data
@NoArgsConstructor
public class OrganizationDTO extends BaseTreeDTO {

    private static final long serialVersionUID = 255881111428876699L;

    @ApiModelProperty(value = "机构名称")
    @Size(min = 0, max = 10, message = "机构名称只能在0-10之间")
    private String organizationName;

    List<PeopleDTO> peopleList;
}
